from fastapi import FastAPI
from app.api.v1.endpoints import asphalt, stabilized_soil, concrete, penetration, softening, ductility, marshall, mortar, rebar, rebar_connection, asphalt_test

app = FastAPI(
    title="沥青拌和站数据接口",
    description="用于接收和处理沥青拌和站数据的 API",
    version="1.0.0"
)

# 注册路由
app.include_router(asphalt.router, tags=["asphalt"])
app.include_router(stabilized_soil.router, tags=["stabilized_soil"])
app.include_router(concrete.router, tags=["concrete"])
app.include_router(penetration.router, tags=["penetration"])
app.include_router(softening.router, tags=["softening"])
app.include_router(ductility.router, tags=["ductility"])
app.include_router(marshall.router, tags=["marshall"])
app.include_router(mortar.router, tags=["mortar"])
app.include_router(rebar.router, tags=["rebar"])
app.include_router(rebar_connection.router, tags=["rebar-connection"])
app.include_router(asphalt_test.router, tags=["asphalt-test"]) 